package net.sx.minemodule.mvp.activities;

import android.os.Bundle;

import com.alibaba.android.arouter.facade.annotation.Route;
import com.homegoods.aroutercomment.ARouterPath;
import com.kedll.library.base.KRefreshListActivity;

import net.sx.minemodule.R;
import net.sx.minemodule.databinding.MineActivityMineAfterListBinding;
import net.sx.minemodule.mvp.presenters.MineAfterListPresenter;

/**
 * 售后列表
 *
 * @author 11470
 */
@Route(path = ARouterPath.PATH_MINE_AFTER_LIST)
public class MineAfterListActivity extends KRefreshListActivity<MineActivityMineAfterListBinding, MineAfterListPresenter> {

    @Override
    protected void initEvent() {
        super.initEvent();
        list.setHasFixedSize(true);
    }

    @Override
    protected int getLayout() {
        return R.layout.mine_activity_mine_after_list;
    }

    @Override
    protected void initToolBar(Bundle savedInstanceState) {
        super.initToolBar(savedInstanceState);
        setTitle("退款/售后");
    }

    @Override
    protected MineAfterListPresenter getPresenter() {
        return new MineAfterListPresenter(this);
    }
}
